import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
// import App from '@/App.tsx'
import { ConfigProvider } from 'antd'
import '@ant-design/v5-patch-for-react-19'
 // 引入Ant Design中文语言包
import zhCN from 'antd/locale/zh_CN'
import '@/common/styles/frame.styl'
import Routers from '@/router'
import { store } from '@/store'
import { Provider } from 'react-redux'
// mock.js模拟数据
import './mock'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <Routers />
      </ConfigProvider>
    </Provider>
  </StrictMode>,
)
